Skip to content

improve spoilers#340

Merged
MathMan05 merged 4 commits into
MathMan05:mainfrom
ygg2:main
Jun 20, 2026
Merged

improve spoilers#340
MathMan05 merged 4 commits into
MathMan05:mainfrom
ygg2:main

Conversation

@ygg2

@ygg2 ygg2 commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

  • it fixes the issue where markdown and quotes were not hidden in spoilers
  • it adjusts some colors for Light theme spoiler texts to be visible
  • it makes clicking spoilers reveal the full spoiler as intended (target is the element the click was triggered on while currentTarget is the element that received the event from bubbling)

ygg2 added 2 commits May 15, 2026 00:42
also changed light theme spoiler color so links will be visible
@MathMan05

Copy link
Copy Markdown
Owner

Uh, shoot, some of this has already been implemented, notably spoilers work with codeblocks now, mind updating this PR? so sorry.

@ygg2

ygg2 commented May 22, 2026

Copy link
Copy Markdown
Contributor Author

No worries, this one was handling code blocks inside spoilers (rather than spoilers inside code blocks), but thanks to this I see that I missed multiline code blocks, as well as a certain case of multiline quotes. They should all work now!

@MathMan05 MathMan05 merged commit 14ba809 into MathMan05:main Jun 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants